package com.qf.service;

import com.qf.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lcx
 * @since 2020-09-03
 */
public interface IUserService extends IService<User> {
    public boolean register(User user);

    public boolean login(User user);

    public User get(Integer id);

    public boolean update(User user);

    public boolean checkPhone(String phone);

    public String sendCode(String phone) throws Exception;

    public Integer getCode(String phone, String inputCode);
}
